package com.ys.chatserver.im.dto;

import com.ys.chatserver.http.logic.dto.UserInfoDTO;

import java.util.List;

/**
 * 频道实体类
 *
 * @author wanxy
 */
public class ChannelEntity {
    /**
     * 节点id
     */
    private String nodeId;
    /**
     * 节点类型
     */
    private String nodeType;
    /**
     * 节点名称
     */
    private String nodeName;

    private Boolean owner;

    private Boolean onekey;

    private List<UserInfoDTO> mUsers;

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public List<UserInfoDTO> getmUsers() {
        return mUsers;
    }

    public void setmUsers(List<UserInfoDTO> mUsers) {
        this.mUsers = mUsers;
    }

    public Boolean getOwner() {
        return owner;
    }

    public void setOwner(Boolean owner) {
        this.owner = owner;
    }

    public Boolean getOnekey() {
        return onekey;
    }

    public void setOnekey(Boolean onekey) {
        this.onekey = onekey;
    }
}
